//1.5、计算总评成绩

#include <stdio.h>

int main()
{
    float cj1, cj2;
    scanf("%f,%f", &cj1, &cj2);
    printf("总评=%.2f\n", cj1 * 0.3 + cj2 * 0.7);
    return 0;
}
